package com.copm.demonstrationsystem.service.housetypefeatures;

import com.copm.demonstrationsystem.commons.response.ResponseStatus;
import com.copm.demonstrationsystem.dto.housetypefeatures.HouseTypeImageReceiveDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;

public interface HouseTypeFeaturesService {
    //1.1、房间类型添加接口
    ResponseStatus addRoomType(String name);

    //1.2、房间类型删除接口
    ResponseStatus deleteRoomType(Long id);

    //1.4、获取全部房间类型接口
    ResponseStatus getRoomTypes();

    //2.1、户型添加接口
    ResponseStatus addHouseType(String name);

    // 2.2、户型删除接口
    ResponseStatus deleteHouseType(Long id);


    //2.4、获取全部户型接口，包括里面的所有的图片
    ResponseStatus getHouseTypes();

    //2.5、获取指定户型接口
    ResponseStatus getHouseType(Long id);

    //3.1、户型图片添加接口
    ResponseStatus addHouseTypeImage(HouseTypeImageReceiveDto imageReceiveDto,MultipartFile file) throws FileNotFoundException;

    //3.2、户型图片删除接口
    ResponseStatus deleteHouseTypeImage(Long id);
}
